import { request, METHOD } from '@/utils/request'
export async function addKitInfo(data) {
    return request("/api/kitInfo/saveOrUpdateKitInfo", METHOD.POST, data)
}
export async function kitInfo(data) {
    return request("/api/kitInfo/queryDetailsKitInfo", METHOD.POST, data)
}

//角色列表/
export async function getRoutesList(data) {
    return request("/api/systemUser/getRoleUserList", METHOD.POST, data)
}
//非角色用户

export async function getAllGeneralUserList(data) {
    return request("/api/systemUser/getAllGeneralUserList", METHOD.POST, data)
}
//获取角色

export async function getRoleUsers(data) {
    return request("/api/systemUser/getRoleUsers", METHOD.POST, data)
}
//添加角色/
export async function addRoleUserList(data) {
    return request("/api/systemUser/addRoleUserList", METHOD.POST, data)
}
//删除角色/
export async function deleteRoleUserList(data) {
    return request("/api/systemUser/deleteRoleUser", METHOD.POST, data)
}
export async function queryKitNameList(data) {
    return request("/api/kitInfo/queryKitNameList", METHOD.POST, data)
}
